﻿using FluentValidation;
using TimeKeeper.Entities;

namespace TimeKeeper.Validators
{
    public class ProjectTimeValidator : AbstractValidator<ProjectTime>
    {
        public ProjectTimeValidator()
        {
            RuleFor(x => x.Time).NotEmpty();
        }
    }
}
